Skip to content

Issue #130 #138

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 30, 2018
Merged

Issue #130 #138

merged 2 commits into from
Jul 30, 2018

Conversation

architectt1
Copy link
Contributor

When creating a project from a project template, define phases' startDate, endDate and duration.

@architectt1 architectt1 added the bug-bash To collect all tasks for a bug bash label Jul 28, 2018
projectId: newProject.id,
name: _.get(phase, 'name', `Stage ${phaseIdx}`),
duration: _.get(phase, 'duration', 0),
duration,
startDate: startDate.format(),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@architectt1 Can we make sure that any date field does not persist time of the day in database. We kept the field to be datetime for future, but don't want to add the time details for date fields. I mean, it should always represent 00:00:00.000 in database.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assertion in unit test would be great to validate this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vikasrohit done in de0d52e.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @architectt1

@vikasrohit vikasrohit merged commit 2bcc524 into feature/timeline-milestone Jul 30, 2018
@vikasrohit
Copy link

@coderReview merging the PR.

@vikasrohit vikasrohit deleted the issue/130 branch August 29, 2018 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-bash To collect all tasks for a bug bash
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants